home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
comm
/
thor
/
SafeEdit.readme
< prev
next >
Wrap
Text File
|
1998-05-05
|
2KB
|
61 lines
Short: Prevents posting unedited messages with Thor
Author: Neil Bothwick <neil@wirenet.co.uk>
Uploader: Neil Bothwick <neil@wirenet.co.uk>
Type: comm/thor
Thor's asynchronous message editing is extremely useful, but there is
a disadvantage. If you Send Events while a message is being edited,
the unedited version is sent and the file you save is lost.
SafeEdit.thor is the solution. It freezes the event before starting the
editor and activates it when you exit the editor, while still
retaining all the advantages of asynchronous editing.
Installation
============
Copy SafeEdit.thor to {ThorPath}/rexx
Go into Global Config/Message options and set the external editor to
Run >NIL: rexx/SafeEdit.thor
Open a shell, CD to the Thor directory and type the following lines:
protect rexx/SafeEdit.thor +s
setenv THOR/Editor [editor command]
setenv ENVARC:THOR/Editor [editor command]
where [editor command] is the command used to start your editor in
"sticky" mode. For the GoldED quickstarter use "C:Ed STICKY".
The file to be edited will be added to the end of this line. If you
have an editor than doesn't accept the file in this position, mail me
with the syntax needed and I'll revise the script where necessary.
Disclaimer
==========
This script works for me. I guarantee that it will work for you
whenever it works, but at no other time.
Problems?
=========
If SafeEdit.thor doesn't freeze the event when editing, make sure your
editor command includes whatever option is needed to make the editor
sticky. You can test this my typing the command in a shell, if the
shell prompt doesn't return until you quit the editor the command
should work. Should you still have problems, mail me with exact
details.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1734 865 50.1% 27-Mar-98 16:29:08 SafeEdit.readme
1922 927 51.7% 24-Mar-98 15:31:06 SafeEdit.thor
-------- ------- ----- --------- --------
3656 1792 50.9% 28-Mar-98 19:11:14 2 files